//
//  TLMyCell.m
//  LoanSimulat
//
//  Created by mc on 2017/10/26.
//  Copyright © 2017年 mc. All rights reserved.
//

#import "TLMyCell.h"

@implementation TLMyCell {
    __weak IBOutlet UIImageView *_imgIcon;
    __weak IBOutlet UILabel *_labTitle;
    __weak IBOutlet UILabel *_labContent;
    __weak IBOutlet UIImageView *_imgSel;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)setCellWithDict:(NSDictionary *)dict {
    [_imgIcon setImage:UIImageName(dict[kImgIcon])];
    _labTitle.text = dict[kTitle];
    _labContent.text = dict[kCont];
    [_imgSel setImage:UIImageName(dict[kImgSel])];
    
}
@end
